package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产员工对象 mes_dispatch_workers
 * 
 * @author ruoyi
 * @date 2021-10-27
 */
public class MesDispatchWorkers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String dispatchWorkerUuid;

    /** 生产派工ID（外键） */
    @Excel(name = "生产派工ID", readConverterExp = "外=键")
    private String dispatchUuid;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 员工ID（外键） */
    @Excel(name = "员工ID", readConverterExp = "外=键")
    private String fkUserId;

    /** 工时 */
    @Excel(name = "工时")
    private BigDecimal workingHours;

    /** 用户名称 */
    @Excel(name = "用户名称", readConverterExp = "外=键")
    private String nickName;

    private String oaDictConfirmStatus;

    public String getOaDictConfirmStatus() {
        return oaDictConfirmStatus;
    }

    public void setOaDictConfirmStatus(String oaDictConfirmStatus) {
        this.oaDictConfirmStatus = oaDictConfirmStatus;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setDispatchWorkerUuid(String dispatchWorkerUuid) 
    {
        this.dispatchWorkerUuid = dispatchWorkerUuid;
    }

    public String getDispatchWorkerUuid() 
    {
        return dispatchWorkerUuid;
    }
    public void setDispatchUuid(String dispatchUuid) 
    {
        this.dispatchUuid = dispatchUuid;
    }

    public String getDispatchUuid() 
    {
        return dispatchUuid;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setFkUserId(String fkUserId) 
    {
        this.fkUserId = fkUserId;
    }

    public String getFkUserId() 
    {
        return fkUserId;
    }
    public void setWorkingHours(BigDecimal workingHours) 
    {
        this.workingHours = workingHours;
    }

    public BigDecimal getWorkingHours() 
    {
        return workingHours;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dispatchWorkerUuid", getDispatchWorkerUuid())
            .append("dispatchUuid", getDispatchUuid())
            .append("orderNum", getOrderNum())
            .append("fkUserId", getFkUserId())
            .append("workingHours", getWorkingHours())
            .toString();
    }
}
